package Services

import(
	"github.com/gin-gonic/gin"
	//"fmt"
	"net/http"
	"gin/Middlewares"
)

// 宏观数据
func Login(c *gin.Context) {
	cookie,name := Middlewares.Login(c)
    c.JSON(http.StatusOK, gin.H{
        "result": 0,
        "msg":    "success",
        "data": cookie + "|" + name,
    })
}

